package com.config.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author Lu
 * @since 2021-02-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Prompt对象", description="")
public class Prompt implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "异常和提示的信息id")
    @TableId(value = "pr_id", type = IdType.AUTO)
    private Integer prId;

    @ApiModelProperty(value = "提示的名称")
    private String prName;

    @ApiModelProperty(value = "提示信息存在时间(小时)默认2小时")
    private Integer prDate;


}
